// Copyright 2017 The Kubernetes Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

@import '../variables';

.kd-shell-term {
  width: 100%;
}

// The style below is to make the shell view card full width & height.
kd-content-card {
  &.kd-shell-content-card {
    box-sizing: border-box;
    height: 100%;
    margin: 0;
    padding: 2.5 * $baseline-grid;

    .kd-content-card {
      height: 100%;

      .kd-content-card-transclude-content {
        display: flex;
        flex: 1;

        kd-content {
          display: flex;
          flex: 1;
        }
      }
    }

    .kd-content-card-content {
      display: flex;
      flex-direction: column;
      height: 100%;
    }
  }
}

.kd-shell-toolbar-select {
  display: inline-flex;
  margin: 0;

  .md-select-value {
    font-size: $title-font-size-base;
    min-width: 20 * $baseline-grid;
  }

  &:not([disabled]) {
    &:focus {
      .md-select-value {
        color: $foreground-1;
      }
    }
  }
}
